package day04_factory_method;

import day04_factory_method.product.Factory;
import day04_factory_method.product.IDCardFactory;

/**
 * @author Koizumi Sinya
 * @date 2018/11/07. 20:42
 * @edithor
 * @date
 */
public class Main {
    public static void main(String[] args) {
        Factory factory = new IDCardFactory();
        factory.create("Tom").use();
        factory.create("Mike").use();
        factory.create("John").use();


    }
}
